package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;
//工资表
public class Wage {
     @TableId(value = "wageid",type = IdType.AUTO)
    private Integer wageId;//工资id

    private Integer basepay;// 基本工资

    private Double netparybasepay;//实发基本工资

    private Integer jobsubsidies;// 岗位津贴

    private Double overtime;// 加班补贴

    private Double breaktherule;// 违纪扣除

    private Double netpayroll;// 实发工资

    private String deductmoneyremark;// 扣除原因

    private Integer presenteveryday;//全勤奖

    private Integer userId;//用户id

    private Date submittime;//工资生成时间

    private Integer exit1;//提成

    private String exit2;

    @Override
    public String toString() {
        return "Wage{" +
                "wageId=" + wageId +
                ", basepay=" + basepay +
                ", netparybasepay=" + netparybasepay +
                ", jobsubsidies=" + jobsubsidies +
                ", overtime=" + overtime +
                ", breaktherule=" + breaktherule +
                ", netpayroll=" + netpayroll +
                ", deductmoneyremark='" + deductmoneyremark + '\'' +
                ", presenteveryday=" + presenteveryday +
                ", userId=" + userId +
                ", submittime=" + submittime +
                ", exit1=" + exit1 +
                ", exit2='" + exit2 + '\'' +
                '}';
    }

    public Wage(Integer wageId, Integer basepay, Double netparybasepay, Integer jobsubsidies, Double overtime, Double breaktherule, Double netpayroll, String deductmoneyremark, Integer presenteveryday, Integer userId, Date submittime) {
        this.wageId = wageId;
        this.basepay = basepay;
        this.netparybasepay = netparybasepay;
        this.jobsubsidies = jobsubsidies;
        this.overtime = overtime;
        this.breaktherule = breaktherule;
        this.netpayroll = netpayroll;
        this.deductmoneyremark = deductmoneyremark;
        this.presenteveryday = presenteveryday;
        this.userId = userId;
        this.submittime = submittime;
    }

    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public Wage(Integer wageId, Integer basepay, Double netparybasepay, Integer jobsubsidies, Double overtime, Double breaktherule, Double netpayroll, String deductmoneyremark, Integer presenteveryday, Integer userId, Date submittime, Integer exit1) {
        this.wageId = wageId;
        this.basepay = basepay;
        this.netparybasepay = netparybasepay;
        this.jobsubsidies = jobsubsidies;
        this.overtime = overtime;
        this.breaktherule = breaktherule;
        this.netpayroll = netpayroll;
        this.deductmoneyremark = deductmoneyremark;
        this.presenteveryday = presenteveryday;
        this.userId = userId;
        this.submittime = submittime;
        this.exit1 = exit1;
    }

    public Wage() {
        super();
    }

    public Integer getWageId() {
        return wageId;
    }

    public void setWageId(Integer wageId) {
        this.wageId = wageId;
    }

    public Integer getBasepay() {
        return basepay;
    }

    public void setBasepay(Integer basepay) {
        this.basepay = basepay;
    }

    public Double getNetparybasepay() {
        return netparybasepay;
    }

    public void setNetparybasepay(Double netparybasepay) {
        this.netparybasepay = netparybasepay;
    }

    public Integer getJobsubsidies() {
        return jobsubsidies;
    }

    public void setJobsubsidies(Integer jobsubsidies) {
        this.jobsubsidies = jobsubsidies;
    }

    public Double getOvertime() {
        return overtime;
    }

    public void setOvertime(Double overtime) {
        this.overtime = overtime;
    }

    public Double getBreaktherule() {
        return breaktherule;
    }

    public void setBreaktherule(Double breaktherule) {
        this.breaktherule = breaktherule;
    }

    public Double getNetpayroll() {
        return netpayroll;
    }

    public void setNetpayroll(Double netpayroll) {
        this.netpayroll = netpayroll;
    }

    public String getDeductmoneyremark() {
        return deductmoneyremark;
    }

    public void setDeductmoneyremark(String deductmoneyremark) {
        this.deductmoneyremark = deductmoneyremark;
    }

    public Integer getPresenteveryday() {
        return presenteveryday;
    }

    public void setPresenteveryday(Integer presenteveryday) {
        this.presenteveryday = presenteveryday;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getSubmittime() {
        return submittime;
    }

    public void setSubmittime(Date submittime) {
        this.submittime = submittime;
    }
}
